package cn.lanqiao.bigDate.web.controller.data;

import cn.lanqiao.bigDate.reslut.Result;
import cn.lanqiao.bigDate.service.data.DataBookOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@RestController
@RequestMapping("t")
public class DataBookOrderController {
    @Resource
    public DataBookOrderService dataBookOrderService;

    @RequestMapping("/t1")
    public List<Map<String,String>> findRegionsHot(){
        List<Map<String,String>> data = dataBookOrderService.findRegionsHot();

        return data;
    }
}
